package com.atguigu.service;

import com.atguigu.dao.BookDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author 伟哥
 * @date 2021-04-30 15:23
 */
@Service
public class BookService {

    @Autowired
    private BookDao bookDao;

    public void save(){
        System.out.println("bookService--->正在调用dao帮你保存图书...");
        bookDao.saveBook();
    }
}
